import QtQuick 2.0
import org.lyd 1.0
// Welcome text
Rectangle {
    id: welcomeText
    width: 341;
    height: 315

    //上方的label [你好]
    Text {
        id:topTextLeft
        //移动位置
        x:20
        y:50
        width: 322

        text: qsTr("你好，")
        font.family: "Noto Sans CJK KR Medium"
        wrapMode: Text.WordWrap
        font.pointSize: 37
    }

    //上方的label [用户名称]
    Text {
        id:topTextRight
        //移动位置
        x:160
        y:50
        width: 322

        text:processmanager.getUserName()
        font.family: "Noto Sans CJK KR Medium"
        wrapMode: Text.WordWrap
        font.pointSize: 37
    }

    ProcessManager {
        id: processmanager

    }

    //中间的label
    Text {
        id: centerText
        //移动位置
        x:20
        y:114
        width: 322

        text: qsTr("为你设计，全新桌面")
        font.bold: true
        wrapMode: Text.WordWrap
        font.pointSize: 24
    }

    //下方的label
    Text {
        id: bottomText
        x:20
        y:190
        text: qsTr("控制面板，分类更加清晰\n通知中心，不再错过消息")
        font.pointSize: 14
    }
}
